// 自动生成模板WmsWareInfo
package biz

import "github.com/go-kratos/kratos/v2/log"

// wmsWareInfo表 结构体  WmsWareInfo
type WmsWareInfo struct {
	Id       *int    `json:"id" form:"id" gorm:"primarykey;comment:id;column:id;size:19;"`          //id
	Name     *string `json:"name" form:"name" gorm:"comment:仓库名;column:name;size:255;"`             //仓库名
	Address  *string `json:"address" form:"address" gorm:"comment:仓库地址;column:address;size:255;"`   //仓库地址
	Areacode *string `json:"areacode" form:"areacode" gorm:"comment:区域编码;column:areacode;size:20;"` //区域编码
}

// TableName wmsWareInfo表 WmsWareInfo自定义表名 wms_ware_info
func (WmsWareInfo) TableName() string {
	return "wms_ware_info"
}

type WmsWareInfoRepo interface {
}

type WmsWareInfoUsecase struct {
	repo WmsWareInfoRepo
	log  *log.Helper
}

func NewWmsWareInfoUsecase(repo GreeterRepo, logger log.Logger) *WmsWareInfoUsecase {
	return &WmsWareInfoUsecase{repo: repo, log: log.NewHelper(logger)}
}
